﻿<Window x:Class="Control_DB_Railway.Authorization"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:Control_DB_Railway"
        mc:Ignorable="d"
        WindowStartupLocation="CenterScreen"
        ResizeMode="NoResize"
        Title="Авторизация" 
        Height="225" 
        Width="200">
    <Grid Margin="0,0,0,-6">

        <Grid.RowDefinitions>
            <RowDefinition Height="75"/>
            <RowDefinition Height="75"/>
            <RowDefinition Height="50"/>
        </Grid.RowDefinitions>

        <!--Логин-->
        <TextBlock Grid.Row="0"
                   HorizontalAlignment="Left"   
                   TextWrapping="Wrap" 
                   Text="Логин" 
                   VerticalAlignment="Top" 
                   Margin="40,18,0,0"/>
        <TextBox Name="textBox_login"
                 Grid.Row="0"
                 HorizontalAlignment="Center" 
                 Text="" 
                 VerticalAlignment="Top" 
                 Width="120" 
                 Margin="0,39,0,0"/>

        <!--Пароль-->
        <TextBlock Grid.Row="1"
                   HorizontalAlignment="Left" 
                   TextWrapping="Wrap" 
                   Text="Пароль" 
                   Margin="40,18,0,0"
                   VerticalAlignment="Top"/>
        <PasswordBox Name="passwordBox_password"
                     Grid.Row="1"
                     Width="120"
                     VerticalAlignment="Top"
                     HorizontalAlignment="Center"
                     Margin="0,39,0,0"/>

        <!--Кнопка-->
        <Button Name="buttonLoginSystem"
                Grid.Row="2"
                Content="Войти" 
                HorizontalAlignment="Center" 
                VerticalAlignment="Top" 
                RenderTransformOrigin="0.527,0.453" 
                Click="buttonLoginSystem_Click"/>

    </Grid>
</Window>
